<template>
	<view class="rights-box">
		<view class="title">
			服务协议管理
		</view>
	<view class="item-list">
		<uni-list-item thumb="/static/rights/隐私协议图标.png" showArrow title="隐私协议" @click="toPage('隐私政策')" clickable  />
		<uni-list-item thumb="/static/rights/注册服务图标.png" showArrow title="注册服务" @click="toPage('注册服务')" clickable  />
		<uni-list-item thumb="/static/rights/个人信息授权及产品风险告知图标.png" showArrow  @click="toPage('个人信息授权及产品风险告知')" title="个人信息授权及产品风险告知" clickable  />
	</view>
	<view class="title">
			服务咨询
		</view>
	<view class="item-list">
		<uni-list-item thumb="/static/rights/问题图标.png" to="/pages/index/question" showArrow title="消保常见问题" clickable  />
		<uni-list-item thumb="/static/rights/注册服务图标.png"   title="消费者咨询" note="客服联系方式:htcxkefu@163.com" clickable  />
	</view>
	</view>
</template>

<script setup>
	function toPage(name){
		uni.navigateTo({
			url:'/pages/webview/webview?name='+name
		})
	}
</script>

<style lang="scss" scoped>
	.rights-box{
		background-color: #f5f5f5;
		min-height: 100vh;
		:deep(.uni-list-item__content-title){
			font-size: 30rpx;
			// font-weight: 500;
			color: #222;
		}
		.title{
			margin-left: 14px;
			font-size: 20px;
			padding-top: 20px;
		}
		.item-list{
			background-color: #fff;
			border-radius: 10px;
			    margin: 14px;
			    overflow: hidden;
			
		}
	}
	
</style>